# the Template Makefile for Project 'gamelab'

CXX = g++
PROG = test
CXXOPT = -g -Wall
INCLS = -I ../include
DEFS  = -D_DAVIDPLUS_

# Standard CXXFLAGS
CXXFLAGS = $(CXXOPT) $(DEFS) $(INCLS)

# Standard LDFLAGS
LDFLAGS = -L/usr/lib

# Standard LIBS
LIBS = 

# TEST CASES
TESTCASES = test

all: $(TESTCASES)

###############################

test : test.cpp
	@$(CXX) -o $@ $< $(CXXFLAGS) $(LDFLAGS) $(LIBS)

###############################

# PHONY
.PHONY : clean debug log

# clean
clean:
	@rm -f $(OBJS) $(PROG) *~
cleanall:
	@rm -f $(OBJS) $(PROG) $(DEPS) core*~
	
debug:
	@echo $(OBJS); \
	echo $(SRCS); \
	echo $(DEPS)




